package com.ipkiss.incomespringboot.common;

/**
 * @author WuYongheng
 * @date 2024/5/11
 * @describe
 */
public final class Constants {
    public static int SUCCESS_CODE = 1;
    public static int FAILED_CODE = -1;
    public static String SUCCESS_MSG = "成功";
    public static String SUCCESS_LOGIN_CN = "登录成功。";
    public static String FAILED_LOGIN_CN = "用户名或密码错误。";
    // 服务器异常
    public static String SERVER_ERROR_CN = "服务器网络异常。";
    //不需要身份验证的URL
    public static String[] PERMITTED = new String[]{"/user/v1/login"};
    public static long ONE_DAY = 24 * 60 * 60;
}
